﻿
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace EvaluationSystem.Models
{
    [Table("teacher_course")]
    public class TeacherWithCourse
    {
        public int TcId { get; set; }

        public DateTime CreatedAt { get; set; }


        public int CourseId { get; set; }
        public Course? Course { get; set; }

        public int TeacherId { get; set; }
        public People? Teacher { get; set; }

        [NotMapped]
        public List<StudentEvalCourse>? StudentEvalCourses { get; set; }

    }
}
